package com.aspose.cells;

class zbya extends zcdb {
   zbya() {
      this.d = 158;
   }

   void a(Workbook var1) {
      WorksheetCollection var2 = var1.getWorksheets();
      WorkbookSettings var3 = var1.getSettings();
      this.c = new byte[29];
      System.arraycopy(com.aspose.cells.b.a.zc.a(var3.q()), 0, this.c, 0, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var3.r()), 0, this.c, 4, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var3.s()), 0, this.c, 8, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var3.t()), 0, this.c, 12, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var3.getSheetTabBarWidth()), 0, this.c, 16, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.C()), 0, this.c, 20, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.getActiveSheetIndex()), 0, this.c, 24, 4);
      int var4 = 64;
      if (var3.isHidden()) {
         var4 |= 1;
      }

      if (var3.isMinimized()) {
         var4 |= 4;
      }

      if (var3.isHScrollBarVisible()) {
         var4 |= 8;
      }

      if (var3.isVScrollBarVisible()) {
         var4 |= 16;
      }

      if (var3.getShowTabs()) {
         var4 |= 32;
      }

      this.c[28] = (byte)var4;
   }
}
